package com.ruoyi.service.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单关闭原因表对象 service_reasonstop
 * 
 * @author ZDL
 * @date 2024-11-12
 */
public class ServiceReasonstop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单关闭原因表主键ID */
    private Long reasonId;

    /** 订单关闭原因 */
    @Excel(name = "订单关闭原因")
    private String reasonName;

    /** 创建者 */
    @Excel(name = "创建者")
    private String reasonCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reasonCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String reasonUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reasonUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,2=代表不启用")
    private String reasonUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String reasonDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String reasonRemark;

    public void setReasonId(Long reasonId) 
    {
        this.reasonId = reasonId;
    }

    public Long getReasonId() 
    {
        return reasonId;
    }
    public void setReasonName(String reasonName) 
    {
        this.reasonName = reasonName;
    }

    public String getReasonName() 
    {
        return reasonName;
    }
    public void setReasonCreateBy(String reasonCreateBy) 
    {
        this.reasonCreateBy = reasonCreateBy;
    }

    public String getReasonCreateBy() 
    {
        return reasonCreateBy;
    }
    public void setReasonCreateTime(Date reasonCreateTime) 
    {
        this.reasonCreateTime = reasonCreateTime;
    }

    public Date getReasonCreateTime() 
    {
        return reasonCreateTime;
    }
    public void setReasonUpdateBy(String reasonUpdateBy) 
    {
        this.reasonUpdateBy = reasonUpdateBy;
    }

    public String getReasonUpdateBy() 
    {
        return reasonUpdateBy;
    }
    public void setReasonUpdateTime(Date reasonUpdateTime) 
    {
        this.reasonUpdateTime = reasonUpdateTime;
    }

    public Date getReasonUpdateTime() 
    {
        return reasonUpdateTime;
    }
    public void setReasonUseFlag(String reasonUseFlag) 
    {
        this.reasonUseFlag = reasonUseFlag;
    }

    public String getReasonUseFlag() 
    {
        return reasonUseFlag;
    }
    public void setReasonDelFlag(String reasonDelFlag) 
    {
        this.reasonDelFlag = reasonDelFlag;
    }

    public String getReasonDelFlag() 
    {
        return reasonDelFlag;
    }
    public void setReasonRemark(String reasonRemark) 
    {
        this.reasonRemark = reasonRemark;
    }

    public String getReasonRemark() 
    {
        return reasonRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reasonId", getReasonId())
            .append("reasonName", getReasonName())
            .append("reasonCreateBy", getReasonCreateBy())
            .append("reasonCreateTime", getReasonCreateTime())
            .append("reasonUpdateBy", getReasonUpdateBy())
            .append("reasonUpdateTime", getReasonUpdateTime())
            .append("reasonUseFlag", getReasonUseFlag())
            .append("reasonDelFlag", getReasonDelFlag())
            .append("reasonRemark", getReasonRemark())
            .toString();
    }
}
